sendToAllPlayers

fun sendToAllPlayers(payload: FzzyPayload, skipCurrentPlayer: Boolean = true)

Sends a payload to all players on the server. By default, skips the player that sent the inbound packet

Author

fzzyhmstrs

Since

0.4.1

Parameters

payload

CustomPayload the payload to send to the player list

skipCurrentPlayer

Boolean, default true - whether to skip the player that sent the inbound payload.